SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '840e80665605e40d2e077ce9b2190a0562169d7cd24543fa22dd2b3a212a4be3' 
  AND token = 'MmaXhyXnRI6pJ2SSC3V/2CtMLHgUGXnLUWJagacrMkA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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