SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31b0894f3beced0188f076957eccbd53b966f87dadcf714254eca32d21616657' 
  AND token = '6Bc34Lt6tpOkrmXy9uK3Oaj2anAQqfEuxGSsQ9u1q8Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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