SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd0ac37e0f6bf6ef73011d0722e99e9010a9a4cfd05bd99e88548e2a40cf1c09' 
  AND token = 'idac4PTR4oYNjndNha2ujeAphASZDX5lzo2VxYq31iw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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