SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c79e991d7d29e66cc8fa0305db3d448f9c9bf3e29fecc7d1648e6eb3b687db6' 
  AND token = 'DT2ebr6SA7DBRdVMKXMZt4jt/kFRZel6fxehrn74jSs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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