SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '164c15c354e117445700d9573f995b71e4ccfc5e6cf0c830d55bf5d7067cc409' 
  AND token = '4CdubXcNupNAvOm73ZRj1b1CC1+yEY+ESZyrduN6GBo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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