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

Query time 0.00024

JSON explain

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