SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1ecd8595c166a2478e6933623afb24e28ab148d20453140c027f955fa5c5d14' 
  AND token = 'DnMz4GBxDrQHJr8BPQgNup8PkNSAZrehEv6YU7/cXr0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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