SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9f7855771332295be6322f064046e37fb5ee72a7ba63f10cd27d36bd019ba350' 
  AND token = 'rYOrPc+K9CCif4RN44zn56Y6KVKqn8gLtAjNNNpCaf8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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