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

Query time 0.00020

JSON explain

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