SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5985d9d7af3044325f6c114488d67d9c8ce1dda006ac5845bd05f977c298874c' 
  AND token = 'foFCDdXCE4Ub/VMxepMCcigkMuWtw69g/ACyw8pwdy8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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