SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bfe6f731a12b620230ac08389ca5abc3d1404314d60d748fa1962a7bdecf7955' 
  AND token = 'YoPaQOTNuadq8ckF0ddPXiQ701jbqck9tR97mprUFFs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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