SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07f21688a2f31c5e7fecbe0759574e24a5425bef9e8901ef65428cdaa0ee7cdd' 
  AND token = 'tiuW7C2nTUimPqrhHneT0Fth2r5EM6XOBk6CP50hCSg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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