SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edb26cc5e530c194b5d7062d90e74efb91ff56177aa0e09f3b109d307a2a1259' 
  AND token = 'yIPPjubK5oIngzBmdXIXb42Of5JYltiOvAaNWUYXC/8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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