SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a594df06e91da39e89bd7f5d593055ecfd6cf4c1008653b25331c48b10f6225a' 
  AND token = 'vkBiCFqXJ9dHj1rJ1Gx9r1UxLEXP7pTvYBjjHS02+bc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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