SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3b5c004020b674665aec230f499f2edf9a117b30dead4c02d443d564e7381044' 
  AND token = 'sG9ZogKKLLd81W+/g2Im9bj/Eh7emjhwwL9lFb2OlCQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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