SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4025b62e17535b5a71b0a51663ed366f7b57806e60fa6535191975182c7bacc' 
  AND token = 'edZYCHsjulRzI5OpBdnSo1YQ457s9NhPyMknZ0+w27Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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