SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f17ba70a53ee6ff0cf760f8920aedd1720762d4a716948850bbcd7c4470f4be' 
  AND token = 'whcyhUpcvrE9JSRJgPrsPbaq0gvQXAtoNpP3TYh4jVY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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