SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8349dd4def6dd8d1f9a2eda3e20350a1f91a4376bfec07126fc2f52b0031071d' 
  AND token = 'KsYFfjclJs+L4NINhgksDn3zQiifpJSTx6Q6STb8vqY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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