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

Query time 0.00031

JSON explain

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