SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e6c3744eae2e2c44e004ba590bdb1cbabc2c0a02ddad728b12d35163a7f867d' 
  AND token = 'W4gcFnE2SayPFaStBqQEUNTs22mzN9Y5sgqPtwA3ab4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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