SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1afcb684a291ded27cadc1fa60d9c2ac41768e79d7664a53309f8493be8858f0' 
  AND token = 'WIcq2aiiI847Ym3dTB45t+4ZtBtczEQprZM/AdZ0y8w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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