SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '249189a7b9b1e417ab56102fb83a5784baea9cebbe339ae1a73810a6f42646e8' 
  AND token = 'V/NWpz33HDQQohvEYI2XGCpPFqEqzSU3rB5GWiTht6U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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