SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '339851ad5213c5bb19877053a2cce27d16465b974d89326e806fc1efb06dca1e' 
  AND token = '6Nvh8dtjwrlLn1H5twqavHAfo7a77oKG906z89szQfA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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