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

Query time 0.00027

JSON explain

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