SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6be14f6d54fe34eb376b55dd9481c93d3a97c9ea0111f5155f3cdbc2c082f3b0' 
  AND token = 'b11S2xk7gNCtmi5/gbOE5BTPkF2vKVnm6ayRV5q/PTU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}