SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c461a172572b418b3a5f6a73aa9fdaa8e496a27e0eebea3ad058021a0ee3399' 
  AND token = 'bewJ9sP51076wCjXtiFocvWps3/z1bLYWPymzLdfLFg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}